home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr35 / jvdnld01.zip / DOWNLOAD.DOC < prev   
Text File  |  1993-05-06  |  5KB  |  106 lines

  1.  
  2.  
  3.              Download Counter by     Jim Velguth           05/06/93
  4.  
  5.         GT has needed a doanload counter for a long time.  With the
  6.     additon of the GT_PIGGY.BAT in Beta10 it is now possible.  This
  7.     package contains DNLDCTR.EXE which creates a database of downloaded
  8.     file names, last date downloaded and count along with DNLDMST.EXE
  9.     which creates a "10 most wanted" bulletin.  For multinode bbs's I
  10.     created DNLDADD which will total all GT_DWNLD.DBS's for a master 10
  11.     most wanted bulletins.
  12.  
  13.         DNLDCTR is very simple, there are no command line arguments.
  14.         Just execute it in your GT_PIGGY.BAT file and it will use the
  15.         GTPATH environment variable to locate GT_XMIT.LST and create a
  16.         database of downloaded files called GT_DWNLD.DBS also in your
  17.         GTPATH.  DNLDCTR will record the filename, number of times
  18.         downloaded and the last date downloaded.  The date is useful to
  19.         the sysop to move the file offline when it gets too old.
  20.         DNLDCTR.EXE does not need to be executed from the GTPATH.
  21.         NOTE: For multinode bbs's each node needs its own GT_PIGGY.BAT
  22.         to avoid conflict when 2 downloads are happening at the same
  23.         time. Only 1 copy of DNLDCTR.EXE is needed if its in the DOS
  24.         path. Here is an example of my GT_PIGGY.BAT
  25.  
  26. >       REM gtpath MUST be set
  27. >       DNLDCTR
  28.  
  29.         DNLDMST creates a bulletin of the 10 most wanted downloads. I
  30.         expect it to be executed in nightly maintenance. It will use the
  31.         GTPATH environment variable to locate the database GT_DWNLD.DBS.
  32.         It has 1 required command line argument and 3 optional command
  33.         line arguments. None require a prefix identifier (ie no /). The
  34.         first is the FULL path and name of the bulletin you wish to
  35.         create.   The second, third and forth can be in any order and
  36.         are optional.  You may add the name of your bbs to the bulletin
  37.         like this  "n:The Coordinate Axis" (has a maxium of 48
  38.         characters). If your bbs name contains spaces the quotes are
  39.         required.  The remaining 2 arguments are used for multi-node
  40.         bbs's. The next argument can be used to set an alternate path
  41.         name a:C:\GT\NODE2 so individual bulletns can be created for
  42.         each node.  As well as total bulletin.  And the last is the
  43.         total indicator switch  t used on multi-node bbs's (more on this
  44.         next).  DNLDMST does not have to be in the gtpath if its in the
  45.         dos path. Here is an example bat for a single node bbs.  It is
  46.         not suggested to use a: and t together because the last one will
  47.         take precedence.
  48.  
  49. >       DNLDMST C:\GT\BBS\9 "n:The Coordinate Axis"
  50.  
  51.         See next section for multi-node bbs examples.
  52.  
  53.         DNLDADD is used on multi-node bbs's to total all the download
  54.         databases.  It has no command line arguments.  DNLDADD.EXE will
  55.         use the GTPATH environment variable to locate GT_DWNLD.LST which
  56.         is a list of ALL gtpath's on a multi-node bbs and create
  57.         GT_DWNLD.TOT a total of all GT_DWNLD.DBS databases listed in
  58.         GT_DWNLD.LST.  Here is the GT_DWNLD.LST I used for testing.
  59.  
  60. >       c:\tcplay
  61. >       c:\tcplay\tc1
  62. >       c:\tcplay\tc2
  63.         each had its own GT_DWNLD.DBS in it.
  64.  
  65.         DNLDADD.EXE does not need to be in the gtpath if its in the dos
  66.         path.  When used you must use the /t switch with DNLDMST to
  67.         indicate to use the total database.  Here is an example bat file
  68.         for use on multi-node bbs's to create only a 10 most wanted
  69.         bulletin.
  70.  
  71. >       DNLDADD
  72. >       DNLDMST C:\GT\BBS\9 "c:The Coordinate Axis" t
  73.  
  74.         Here is an example bat file for use on multi-node bbs's to
  75.         create individual bulletins and a 10 most wanted bulletin.
  76.  
  77. >       DNLDMST C:\GT\BBS\7 "c:The Coordinate Axis Node1"
  78. >       DNLDMST C:\GT\BBS\8 "c:The Coordinate Axis Node2" a:C\GT\NODE2
  79. >       DNLDADD
  80. >       DNLDMST C:\GT\BBS\9 "c:The Coordinate Axis all nodes" t
  81.  
  82.         There is an indicator in the database that is switched to y when
  83.     a download occurs and switched to n when a bulletin is created.
  84.     I did this to keep down the work on the hard drive.  DNLDADD will
  85.     set the total database(GT_DWNLD.TOT) to y.  If something happens to
  86.     your bulletin you can run/rerun DNLDADD.EXE.  GT_DWNLD.TOT is
  87.     deleted and recreated each run and can be run with only 1 gtpath
  88.     name in GT_DWNLD.LST.
  89.  
  90.         Those of you who saved up downloads with
  91.     TYPE GT_XMIT.LST >> GT_XMIT.LOG can now rename GT_XMIT.LOG to
  92.     GT_XMIT.LST and run DNLDCTR.EXE.
  93.  
  94.         For all this documentation and examples I am assuming all
  95.     nightly maintenance is done from 1 node.
  96.  
  97.         I would like to know who is using my efforts so please netmail
  98.     me Jim Velguth at 005/003 about performance.  These run fine on my
  99.     386dx under a multitasker.  Please also let me know about any
  100.     suggestions for the future. I already have adding color to the
  101.     bulletin on the wish list.  I already have an idea on how to save 6
  102.     bytes per file in the database file but I need to work on it a bit
  103.     more.
  104.  
  105.         GT is regisgered copyright of Paul Meiners.
  106.